This section describes new functions provided by movie data export components.
Since QuickTime 1.6.1, the sound movie export component has been updated to take advantage of Sound Manager 3.0. Previously, only the first sound track in the movie was exported. Now sound tracks are mixed together before they are exported. If you want to use sound mixing, you can use the PutMovieIntoTypedHandle function to take advantage of the export component. Furthermore, you can now specify the format of the exported sound, so you can convert 16-bit sound to 8-bit sound or reduce stereo to mono. See Inside Macintosh: QuickTime for a description of the PutMovieIntoTypedHandle function.
QuickTime 1.6.1 added a new result code to this function. A movie export component returns the following result code when MovieExportGetAuxillaryData is called requesting a type of auxiliary data that the component cannot generate.
The MovieExportSetSampleDescription function allows your application to request the format of the exported data. This function is supported by the sound movie export component, for example.
pascal ComponentResult MovieExportSetSampleDescription(
MovieExportComponent ci,
SampleDescriptionHandle desc,
OSType mediaType)
The MovieExportValidate function allows your application to determine whether a movie export component can export all the data for a specified movie or track.
pascal ComponentResult MovieExportValidate(
MovieImportComponent ci,
Movie theMovie,
Track onlyThisTrack,
Boolean *valid)
MovieExportValidate allows an application to determine if a particular movie or track could be exported by the specified movie data export component. The movie or track is passed in the theMovie and onlyThisTrack parameters as they are passed to MovieExportToFile .
Although a movie export component can export one or more media types, it may not be able to export all the kinds of data stored in those media. The MovieExportValidate function allows applications to get this additional information.
Movie data export components that implement this function also set the canMovieExportValidateMovieflag in their component flags.
| Previous | Chapter contents | Chapter top | Section top | Next |